<template>
  <div>
    foo组件
    <router-view />


    <!-- <p>{{ getRouteMessage }}</p> -->
  </div>
</template>

<script>
export default {
  computed: {
    getRouteMessage() {
      console.log(this.$route)
      const { fullPath, meta, name, params, path, query } = this.$route
      return { fullPath, meta, name, params, path, query }
    },
  },
}
</script>

<style></style>
